From a6393e1a47cb57d0baae7d15034ab7a12c16d07b Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 5 Sep 2017 01:38:35 +0100 Subject: [PATCH] Adwaita: Leave fg color of hovered emoji alone Only HighContrast has a clear problem, and this avoids some probably unwanted changes of certain colours in the weird greyscale emoji I have available to test here. --- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 676e951d98..bbe63c2bf9 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -4468,6 +4468,5 @@ button.emoji-section { :hover { background: $selected_bg_color; - color: $selected_fg_color; } } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index eb266d9c62..77dc6fad75 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1916,7 +1916,7 @@ button.emoji-section:checked label { opacity: 1; } .emoji { font-size: x-large; padding: 6px; border-radius: 6px; } -.emoji :hover { background: #215d9c; color: #ffffff; } +.emoji :hover { background: #215d9c; } /* GTK NAMED COLORS ---------------- use responsibly! */ /* diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 6791c1aaf4..653e931f05 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1936,7 +1936,7 @@ button.emoji-section:checked label { opacity: 1; } .emoji { font-size: x-large; padding: 6px; border-radius: 6px; } -.emoji :hover { background: #4a90d9; color: #ffffff; } +.emoji :hover { background: #4a90d9; } /* GTK NAMED COLORS ---------------- use responsibly! */ /* -- 2.30.2